<?php
if ($this->config->item('use_username', 'tank_auth')) {
    $login_label = lang('label_login_user_and_email');
} else {
    $login_label = lang('label_email');
}
?>

<div id="box_login">
    <form method="post" accept-charset="utf-8" action="<?php echo site_url(uri_string());?>">
    <div class="em">
        <a href="<?php echo site_url('home');?>"><img src="<?php echo img_theme('logo.png');?>"></a>
        <div class="em">
        <label for="login"><?php echo $login_label;?></label>
        <input type="text" name="login" id="login" value="<?php echo set_value('login');?>" maxlength="80" required autofocus/>
        <span><?php echo form_error('login'); ?><?php echo isset($errors['login'])?$errors['login']:''; ?></span>
        </div>
    </div>
        <input type="submit" name="submit" value="Obtener password" class="save_button" />

    </form>
</div>